#ifndef MYMODEL_H
#define MYMODEL_H

#include <QSqlTableModel>

class MyModel : public QSqlTableModel
{
    Q_OBJECT
public:
    explicit MyModel(QObject *parent = 0);
private:
    QVariant    data(const QModelIndex &idx, int role = Qt::DisplayRole) const; // solo lectura por defecto
    
signals:
    
public slots:
    
};

#endif // MYMODEL_H
